import tmApp from "@/tmui/components/tm-app/tm-app.vue";

export const systemStore = defineStore("systemStore", {
  state: () => ({
    systemInfo: <UniApp.GetSystemInfoResult>uni.getSystemInfoSync(),
    appRef: <InstanceType<typeof tmApp> | null>null,
    _rpxWidth: 0,
    _rpxHeight: 0,
    avatar:
      "http://p1.music.126.net/SUeqMM8HOIpHv9Nhl9qt9w==/109951165647004069.jpg",
  }),
  getters: {},
  actions: {},
});
